package com.empire.module.member.controller.admin.mappolygonpoint.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.empire.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 多边形顶点坐标分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MapPolygonPointPageReqVO extends PageParam {

    @Schema(description = "关联多边形ID（关联member_map_polygon.id）", example = "20399")
    private String polygonId;

    @Schema(description = "环索引（0-外环，1+内环，用于复杂多边形）")
    private Integer ringIndex;

    @Schema(description = "经度（范围：-180~180）")
    private BigDecimal lng;

    @Schema(description = "纬度（范围：-90~90）")
    private BigDecimal lat;

    @Schema(description = "顶点顺序（同一环内从0开始）")
    private Integer pointIndex;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

}